import React, { Component } from 'react';
import '../components/List2.scss'


import logo1 from '../images2/z02.gif'
import logo2 from '../images2/z03.gif'
import logo3 from '../images2/z04.gif'
import logo4 from '../images2/z05.gif'
import logo5 from '../images2/z06.gif'
import logo6 from '../images2/z07.gif'
import logo from '../images2/z01.gif'

class List2 extends Component {
      constructor(props){
            super(props);
            this.state={
                  arr:[
                        {name:'Filorga菲洛嘉...',money:'￥303',rush:'￥195',pic:logo1},
                        {name:'Filorga菲洛嘉...',money:'￥303',rush:'￥195',pic:logo2},
                        {name:'Filorga菲洛嘉...',money:'￥303',rush:'￥195',pic:logo3},
                        {name:'Filorga菲洛嘉...',money:'￥303',rush:'￥195',pic:logo4},
                        {name:'Filorga菲洛嘉...',money:'￥303',rush:'￥195',pic:logo5},
                        {name:'Filorga菲洛嘉...',money:'￥303',rush:'￥195',pic:logo6},   

                  ]
            }

      }
      render() {
            return (
               <div>
                     <div className='pic3'>
                       <img src={logo} alt="" />
                  </div>
           
                  <div className='list2'>
                        {
                          
                              this.state.arr.map((item,index)=>{
                                    return(
                                     
                                          <div className='cate' key={index}>
                                                <img src={item.pic} alt="" />
                                                <p>{item.name}</p>
                                                <p>原价{item.money}</p>
                                                <p>抢购价{item.rush}</p>
                                          </div>
                                    )
                              })
                        }
                        
                  </div>
               </div>
            );
      }
}

export default List2;